.dependency-issue-detail-dialog {
  .next-dialog-body {
    overflow-y: auto;
    max-height: calc(100vh - 180px) !important;
  }
}
.dependency-single-build-detail {
  margin-top: -20px;
  &-suggestion {
    background: rgba(204, 236, 255, 0.5);
    display: flex;
    align-items: center;
    margin: 0 -20px;
    padding: 12px 20px;
    &-content {
      margin-left: 8px;
      display: flex;
      .title {
        text-align: left;
        line-height: 20px;
        font-weight: 500;
        font-size: 14px;
        color: $primary-brand;
      }
      .suggestion {
        text-align: left;
        line-height: 20px;
        font-size: 14px;
        color: $gray-08;
        margin-left: 12px;
      }
    }
    &-icon i {
      color: $primary-brand;
    }
  }
  &-info {
    display: flex;
    border-bottom: 1px solid $gray-02;
    .title {
      text-align: left;
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
    }
    .content {
      text-align: left;
      line-height: 20px;
      font-size: 14px;
      color: $gray-08;
      margin-top: 8px;
    }
    &-left {
      flex: 1;
      &-top {
        display: flex;
        border-bottom: 1px solid $gray-02;
        &-user {
          margin: 20px;
          flex: 1;
          border-right: 1px solid $gray-02;
        }
        &-version {
          width: 260px;
          margin: 20px 20px 20px 0;
          border-right: 1px solid $gray-02;
        }
        &-commit {
          flex: 1;
          margin: 20px 20px;
          .commit-content-icon {
            color: $gray-06;
          }
        }
      }
      &-bottom {
        display: flex;
        &.has-border-bottom {
          border-bottom: 1px solid $gray-02;
        }
        &-file {
          margin: 20px 20px 20px 0;
          max-width: 100%;
          flex: 1;
          .file-name {
            line-height: 20px;
            font-size: 14px;
            span {
              color: $gray-08 !important;
            }
            a {
              display: inline-block;
              width: 100%;
              text-align: left;
              .at-path-wrap {
                height: 20px;
                line-height: 20px;
              }
              span {
                color: $primary-brand !important;
              }
            }
          }
        }
        &-language {
          width: 261px;
          margin: 20px 20px 20px 0;
          border-right: 1px solid $gray-02;
        }
      }
    }
  }

  &-detail {
    padding-bottom: 20px;
    border-bottom: 1px solid $gray-02;
    &-title {
      margin-top: 20px;
      text-align: left;
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
    }
    &-count {
      margin-top: 9px;
      margin-left: -4px;
      .count {
        margin-left: 8px;
      }
      .inactive {
        .next-color-tag {
          background: #fff;
          color: $gray-06;
          .count {
            color: $gray-06;
          }
        }
      }
    }
    &-list {
      margin-top: 21px;
      .blocker .#{$teamix-prefix}collapse-panel-title::before {
        background: $primary-danger;
      }
      .critical .#{$teamix-prefix}collapse-panel-title::before {
        background: $primary-warning;
      }
      .major .#{$teamix-prefix}collapse-panel-title::before {
        background: $primary-brand;
      }
      &-content {
        margin: 0 -40px;
      }
      &-item {
        display: flex;
        margin-top: 16px;
        padding: 0 16px;
        &:first-child {
          margin-top: 12px;
        }
        .content-left {
          text-align: left;
          line-height: 24px;
          font-size: 14px;
          color: $gray-06;
          min-width: 56px;
        }
        .content-right {
          text-align: left;
          line-height: 24px;
          font-size: 14px;
          color: $gray-08;
          padding-left: 12px;
          &.number {
            color: $primary-brand;
          }
          .content-detail-item {
            line-height: 20px;
          }
        }
      }
      .#{$teamix-prefix}collapse-panel {
        background: #fff;
        border: 1px solid $gray-03;
        border-radius: 4px;
        &-icon {
          position: absolute;
          top: 10px;
        }
        .#{$teamix-prefix}collapse-panel-title {
          position: relative;
          &::before {
            border-radius: 4px 0 0 4px;
            width: 4px;
            position: absolute;
            top: 0;
            left: 0;
            content: '';
            bottom: 0;
          }
        }
        &.#{$teamix-prefix}collapse-panel-expanded .#{$teamix-prefix}collapse-panel-title {
          border-bottom: 1px solid $gray-03;
          border-radius: 4px 0 0 4px;
        }
        &:not(:last-child) {
          border-bottom: none;
        }
      }
    }
  }

  &-history {
    &-title {
      text-align: left;
      line-height: 20px;
      font-size: 14px;
      color: $gray-06;
      margin-top: 20px;
    }
    &-list {
      &-item {
        margin-top: 12px;
        text-align: left;
        line-height: 20px;
        font-size: 14px;
        color: $gray-08;
        display: flex;
        align-items: center;
        justify-content: space-between;
        &-left {
          .detail {
            display: flex;
            align-items: center;
          }
        }
        &-right {
          color: $gray-06;
        }
      }
    }
  }
}

.dependency-title {
  display: flex;
  justify-content: center;
  align-items: center;
  .at-title {
    max-width: 600px;
    display: inline-block;
  }
}
.dependency-unresolved,
.dependency-new {
  background: $gray-02;
  border-radius: 4px;
  width: 58px;
  height: 28px;
  color: $gray-07;
  margin-right: 12px;
  line-height: 28px;
  text-align: center;
  display: inline-block;
  font-size: 14px;
}
.dependency-resolved {
  background: #e8f7ea;
  border-radius: 4px;
  width: 58px;
  height: 28px;
  font-size: 14px;
  color: #247c34;
  display: inline-block;
  line-height: 28px;
  text-align: center;
  margin-right: 12px;
}
